package com.axonactive.yolo.dao.interfaces;
import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.axonactive.yolo.domain.FlightNotification;

public interface FlightNotificationRepository extends JpaRepository<FlightNotification, Integer>{
	
	public List<FlightNotification> findByUserIdAndStatus(int userId, int status);
	
	public List<FlightNotification> findByUserId(int userId);
	
	public List<FlightNotification> findByFlightId(String flightId);
}
